package com.zhaoyu.apis.wemedia;

import com.zhaoyu.model.common.dtos.ResponseResult;
import com.zhaoyu.model.media.pojos.WmUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "自媒体用户管理",description = "自媒体用户管理api接口,提供根据名称查询用户、保存自媒体用户、根据id查询用户等功能")
public interface WmUserControllerApi {

        @ApiOperation("保存自媒体用户")
        ResponseResult saveWmUser(WmUser wmUser);

        @ApiOperation("根据名称查询用户")
        WmUser findByNameWmUser(String name);

        @ApiOperation("根据id查询用户")
        WmUser findByIdWmUser(Long id);

}